<?php
echo $html->css ( 'tab' );
echo $html->css ( 'style' );
echo $javascript->link('jquery-1.4.2');
echo $html->css('start/jquery-ui-1.8.2.custom');
echo $javascript->link('jquery-ui-1.8.2.custom.min');
echo $html->css ( 'jquery-validate/css/screen' );
echo $javascript->link ( 'jquery-validate/jquery.validate');
echo $javascript->link ( 'jquery-validate/additional-methods');
echo $javascript->link ( 'jquery-validate/localization/messages_cn');

?>

<!-- 当前位置-->
<div id="tabmenubar">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td class="tabmenubartitle1"><?php echo  __('YourPosition');//您现在的位置：?></td>
		<td class="tabmenubartitle2"><?php echo __('Personal Office');//一级目录
										   echo '>';echo __('Leave Manage');//二级目录
										   echo '>';?>
									<?php echo $html->tag('span', __('Leave Info',true));//当前操作地用span加粗?> 						  
		</td>
	</tr>
</table>
</div>
<!-- 当前位置-->

<div class="tabflex">
<?php echo $form->create('Leave',array('action'=>'request','type'=> 'post'));?>
<fieldset>
	<legend><?php  __('Leave Info');?></legend>

<table width="100%" cellspacing="0" cellpadding="0" border="0" style="text-align: left;font-size:12px;">
	<tr>
		<td width="50"></td>
		<td width="100">请假者:</td>
		<td><?php 
				echo $data['Leave']['creater'];
			?>
		</td>
		<td width="50"></td>
		<td width="100"></td>
		<td></td>
	</tr>
	<tr>
		<td width="50"></td>
		<td width="100">开始日期:</td>
		<td><?php echo $data['Leave']['start'];?></td>
		<td width="50"></td>
		<td width="100">结束日期:</td>
		<td><?php echo $data['Leave']['end'];?></td>
	</tr>
	<tr>
		<td width="50"></td>
		<td width="100">审核人:</td>
		<td><?php 
				echo $data['Leave']['checkers'];
			?>
		</td>
		<td width="50"></td>
		<td width="100">Email:</td>
		<td><?php 
				echo $data['Leave']['emails'];
			?>
		</td>
	</tr>
	<tr>
		<td width="50"></td>
		<td width="100"><?php __('Subject');?>:</td>
		<td colspan="4"><?php echo $data['Leave']['title'];
			?>
		</td>
	</tr>
	<tr>
		<td width="50"></td>
		<td width="100">请假内容:</td>
		<td colspan="4">
			<?php echo $data['Leave']['content'];
			?>
		</td>
	</tr>
	</table>
</fieldset>
	
	<table width="100%" cellspacing="0" cellpadding="0" border="0" style="text-align: left">
	<tr>
		<td width="50"></td>
		<td width="100"><?php echo $form->button('关闭',array('class'=>'btn2','onclick'=>'window.close();'));?>  <!-- __('reset', true)取消-->
		</td>
	</tr>
</table>
<?php echo $form->end();?>
</div>